package com.kgc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@RequestMapping("/user")
@Controller
public class UserController {
   @GetMapping("/user2")
   @ResponseBody
    public String msg(){
        return "hello Git";
    }
    @GetMapping("/user3")
    @ResponseBody
    public String msg2(){
        return "hello Git2";
    }
}
